Preface

Before I begin this article, I think you would all want some context. In my own free time, I like to work on some projects; specifically those in relation to hosting game servers. In this case, I was working on a minecraft project where we had to use ngrok to expose the server to the world (albeit with proper configurations for security). However, ngrok generates a long url that may be hard to remember, which can actually be solved with some DNS skills. After helping my buddy out, he turned to me and said: "Hey you should really write a guide about this!". So here I am

Prequisites:

Ngrok

As per usual, start your ngrok instance and set it up so that you have a public port exposed!

On your Domain Manager:

Add the exposed address from ngrok (WITHOUT THE PORT) in to the cname field. (You can use alias if you want the domain at root level)

cnameconfig